package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.qf.**.mapper")
// 指定扫描包路径
@EnableFeignClients(basePackages = {"com.qf.**"})   // 开启Feign客户端
@EnableAsync // 开启异步调用
@EnableScheduling // 开启定时任务
public class MicroGrassApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroGrassApplication.class, args);
    }

}
